#!/bin/sh

. "${PM_FUNCTIONS}"
. .@INSTALL_PATH@displaylink-sleep.sh

command_exists suspend_dlm || exit $NA
command_exists resume_dlm || exit $NA

case $1 in
    hibernate|suspend)
        suspend_dlm
        ;;
    thaw|resume)
        resume_dlm
        ;;
esac
exit 0
